
from PySide2 import QtWidgets, QtGui

class UiStyle():
    def tableHorHeader(self, table):
        header = table.horizontalHeader()
        header.setStyleSheet("QHeaderView::section { background-color: #eef }")
    def initGroupTitleFont(self, groupWidget:QtWidgets.QGroupBox):
        qfont = QtGui.QFont()
        qfont.setPointSize(12)
        qfont.setBold(True)
        groupWidget.setFont(qfont)
        return qfont